
GM.Name 	= "Prop Fight"
GM.Author 	= "Hacksore and Sk8"
GM.Email 	= ""
GM.Website 	= ""
GM.Help		= "Kill the other team or something"
 
function GM:CreateTeams()

	-- team.SetUp (1, "Red", Color (255, 0, 0, 255))
	-- team.SetUp (2, "Blue", Color (0, 0, 255, 255))
	-- team.SetUp (3, "Spectators", Color (255, 255, 0, 255))

	-- team.SetSpawnPoint( 1, "info_player_terrorist" )
	-- team.SetSpawnPoint( 2, "info_player_counterterrorist" )
		
 
	TEAM_RED = 1
	team.SetUp( TEAM_RED, "Red", Color( 255, 0, 0, 255 ) )
	team.SetSpawnPoint( TEAM_RED, "info_player_terrorist" )
 
	TEAM_BLUE = 2
	team.SetUp( TEAM_BLUE, "Blue", Color( 0, 0, 255, 255 ) )
	team.SetSpawnPoint( TEAM_BLUE, "info_player_counterterrorist" )
	
 	TEAM_SPEC = 3
	team.SetUp( TEAM_SPEC, "Spectator", Color( 155, 155, 0, 255 ) )
	team.SetSpawnPoint( TEAM_SPEC, "info_player_start" )
 

end

models_t = {
	{
		mdl = "models/Combine_Helicopter/helicopter_bomb01.mdl",
		force = 2000, 
		dmg = 0.3, 
		rate = 0.4
	},
	{
		mdl = "models/props_junk/sawblade001a.mdl",
		force = 150000,
		dmg = 0.90,
		rate = 3
	},
	{
		mdl = "models/props_junk/plasticbucket001a.mdl",
		force = 2000,
		dmg = 0.2,
		rate = 0.05
	},
	{
		mdl = "models/props_c17/FurnitureWashingmachine001a.mdl",
		force = 2000,
		dmg = 0.1,
		rate = 0.2
	},
	{
		mdl = "models/props_c17/FurnitureCouch002a.mdl",
		force = 2000, 
		dmg = 0.2,
		rate = 0.4
	}
	
}



-- function GM:ShouldCollide( ent1, ent2 ) 	
	-- if(ent1:IsValid() and ent2:IsValid()) then 
		-- local ply = ent1:GetOwner()
		-- if !ply:IsPlayer() then return end
		-- print("Ent1 = "..ent1:GetClass().." - Ent2 = "..ent2:GetClass())
		-- if(ply:Team() == 2 and ent2:GetClass() == "red_team_nopass")then
			-- return false 
		-- else
			-- return true
		-- end
		
	-- end
	-- return true
-- end
